home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / ab20_archive / games / strategy / madgic-corewar-4.0.lzh / 1989 / PowerBomb.s < prev    next >
Text File  |  1992-03-10  |  1KB  |  41 lines

  1. ; Power Bomb
  2. ;
  3. ; Author: Bram Cohen
  4. ;
  5. GLANCE   ADD  # 412              OUTPTR
  6. START    JMZ    GLANCE         @ OUTPTR
  7. NOOP     JMP    NOOP+1
  8. ;
  9.          ADD  # 9                OUTPTR
  10.          MOV  # 0                JMPTRAP
  11.          SUB    OUTPTR           JMPTRAP
  12.          JMP    1
  13.          SUB  # 11               JMPTRAP
  14.          MOV    JMPTRAP        @ OUTPTR
  15.          MOV  # 17               COUNT
  16. BOMB     MOV    NOOP           < OUTPTR
  17.          DJN    BOMB             COUNT
  18.          ADD  # 420              OUTPTR
  19.          JMP    START
  20. ;
  21. HELP     MOV    DATBOMB        < BOMBPTR
  22.          JMP    HELP
  23. ;
  24. ENTER    MOV    JUMP             START
  25.          JMP    1
  26.          SPL    0
  27. DEC      DJN    SPLIT            FOES
  28. ;
  29.          MOV    DATBOMB          SPLIT
  30. COUNT    DAT                   # 0
  31. DATBOMB  DAT   -BOMBPTR+HELP
  32. SPLIT    SPL    DEC
  33.          MOV    DATBOMB        < BOMBPTR
  34.          JMP    SPLIT
  35. FOES     DAT                   # 64
  36. OUTPTR   DAT                   # 802
  37. BOMBPTR  DAT                     GLANCE
  38. JUMP     JMP    HELP-START
  39. JMPTRAP  JMP  @ JMPTRAP        # JMPTRAP
  40.          END    START
  41.